// 电影路由
export default {
  // 页面请求uri
  path: '/films',
  component: () => import('@/views/Film/Film'),
  // 子路由 嵌套路由
  children: [
    {
      // /films/nowplaying
      path: 'nowplaying',
      component: () => import(/*webpackChunkName: 'nowplaying'*/ '@/views/Film/Nowplaying')
    },
    {
      path: 'comingsoon',
      component: () => import('@/views/Film/Comingsoon')
    },
    {
      path: '/films',
      redirect: 'nowplaying'
    }
  ]
}
